// License: http://www.codeplex.com/entlibcontrib/Project/License.aspx
// Author: Randy

using System;

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

using Microsoft.Practices.EnterpriseLibrary.Logging.Formatters;

using EntLibContrib.Logging.Configuration;

namespace EntLibContrib.Logging.Formatters
{
    /// <summary>
    /// Custom template text formatter.
    /// </summary>
    [ConfigurationElementType(typeof(TemplateTextFormatterData))]
    public class TemplateTextFormatter : TextFormatter, ITemplateTextFormatter
    {
		/// <summary>
        /// Constructor to initialize a new instance of the class.
        /// </summary>
		/// <param name="templateData">Template containing tokens to replace.</param>
        public TemplateTextFormatter(string templateData)
            : base(templateData)
		{
		}
    }
}
